package com.qdxwx.models.help;

import com.qdxwx.common.entity.TreeEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 帮助菜单对象 qdx_help_menu
 *
 * @author qdxwx
 */
public class Help extends TreeEntity
{
    private static final long serialVersionUID = -9034223426062843230L;

    /** id */
    private Long id;

    /** 菜单名称 */
    private String name;

    /** 菜单内容 */
    private String content;

    /** 排序  倒叙 */
    private Long sort;


    /** 外链字段 */
    private String linkBuilding;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }
    public void setSort(Long sort)
    {
        this.sort = sort;
    }

    public Long getSort()
    {
        return sort;
    }
    public void setLinkBuilding(String linkBuilding)
    {
        this.linkBuilding = linkBuilding;
    }

    public String getLinkBuilding()
    {
        return linkBuilding;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("createTime", getCreateTime())
                .append("content", getContent())
                .append("sort", getSort())
                .append("linkBuilding", getLinkBuilding())
                .toString();
    }
}
